|
|
Well, there's nothing to importing them. Simply use an image file that has
the alpha channel and apply it to the box, as in:
box {
0,1
pigment {
image_map {
png "alpha.png"
} // will be centered on both +z and -z faces
}
}
Where "alpha" is the files name, and png the file type. I think only PNG and
TGA are accepted, but I'm not completely sure of that. I had to look this up
in the documentation myself, been a while since I used it. Have a look under
section 3.5.1.5 Image Map which has a subsection 3.5.1.5.3 Using the Alpha
Channel
I read this before Marc replied but I was a little confused by the question,
too, perhaps thinking it more complicated than really is.
Bob Hughes
Post a reply to this message
|
|